package com.examplemartin.jpademo.pojo.po.good;

import java.util.ArrayList;
import java.util.Arrays;

public class GoodUnit {
    public static Integer GOOD_UNIT_CASE = 0; // 散装
    public static Integer GOOD_UNIT_PACKAGE = 1; // 包
    public static Integer GOOD_UNIT_KILOGRAM = 2; // 公斤
    public static Integer GOOD_UNIT_TON = 3; // 吨
    public static Integer GOOD_UNIT_PIECE = 4; // 件
    public static Integer GOOD_UNIT_SET = 5; // 套


    public static String GOOD_UNIT_CASE_NAME = "散装";
    public static String GOOD_UNIT_PACKAGE_NAME =  "包";
    public static String GOOD_UNIT_KILOGRAM_NAME =  "公斤";
    public static String GOOD_UNIT_TON_NAME = "吨";
    public static String GOOD_UNIT_PIECE_NAME ="件";
    public static String GOOD_UNIT_SET_NAME  ="套";

    public static ArrayList<String> UNIT_NAME = new ArrayList<String>((Arrays.asList(GOOD_UNIT_CASE_NAME,
        GOOD_UNIT_PACKAGE_NAME,
        GOOD_UNIT_KILOGRAM_NAME,
        GOOD_UNIT_TON_NAME,
        GOOD_UNIT_PIECE_NAME,
        GOOD_UNIT_SET_NAME)));

    public static ArrayList<Integer> UNIT_VALUE = new ArrayList<Integer>((Arrays.asList(GOOD_UNIT_CASE,
        GOOD_UNIT_PACKAGE,
        GOOD_UNIT_KILOGRAM,
        GOOD_UNIT_TON,
        GOOD_UNIT_PIECE,
        GOOD_UNIT_SET)));
}
